package core;

import java.io.IOException;
import java.io.OutputStream;
import java.util.logging.Level;
import java.util.logging.Logger;

public class Piece {
    
    private byte[] data;
    private int index;
    private String path;
    private int standardLength;
    
    public Piece(byte[] data, int index, String path,int standardLength){
       
        this.standardLength = standardLength;
        this.data = data;
        this.index = index;
        this.path = path;
        
    }

    public String getPath() {
        return path;
    }

    public byte[] getData() {
        return data;
    }

    public int getIndex() {
        return index;
    }

    public int getStandardLength() {
        return standardLength;
    }



}
